import request from '@/utils/request'

// 获取费用类别列表
export function getExpenceClassPage(data) {
  return request({
    url: 'admin/expence_class/index',
    method: 'post',
    data: data
  })
}

// 获取费用类别列表(下拉框)
export function getExpenceClassData(data) {
  return request({
    url: 'admin/expence_class/data',
    method: 'post',
    data: data
  })
}

// 保存费用类别
export function saveExpenceClass(data) {
  return request({
    url: 'admin/expence_class/save',
    method: 'post',
    data: data
  })
}

// 修改费用类别
export function updateExpenceClass(data) {
  return request({
    url: 'admin/expence_class/update',
    method: 'post',
    data: data
  })
}

// 删除费用类别
export function deleteExpenceClass(data) {
  return request({
    url: 'admin/expence_class/delete',
    method: 'post',
    data: data
  })
}

